package com.sp.scmdb.service;

import java.util.List;

import com.sp.scmdb.bean.EmployeeBean;
import com.sp.scmdb.bean.UserBean;
import com.sp.scmdb.entity.Area;
import com.sp.scmdb.entity.BuMen;
import com.sp.scmdb.entity.Department;
import com.sp.scmdb.entity.Duty;
import com.sp.scmdb.entity.Employee;
import com.sp.scmdb.entity.Shifts;
import com.sp.scmdb.entity.Tag;
import com.sp.scmdb.entity.Title;
import com.sp.scmdb.entity.WorkTime;
import com.sp.scmdb.entity.WorkType;

public interface EmployeeService {

	public EmployeeBean queryAll(EmployeeBean empBean, EmployeeBean oldBean, UserBean user);
	public List<EmployeeBean> getEmployeeList(String hql);

	public String newEmp(EmployeeBean t, UserBean user);

	public String editEmp(EmployeeBean t, UserBean user);
	public String editEmployee(Employee employee);
	
	public String delEmp(String []arr, UserBean user);
	
	public Employee getById(String id);
	
	public List<Duty> getListDuty();
	
	public List<Title> getListTitle();
	
	public List<WorkTime> getListWorkTime();

	public List<WorkTime> getListMaxWorkTime();
	
	public List<Department> getListDepartment(UserBean user);
	
	public List<Area> getListArea();
	
	public List<Shifts> getListShifts();
	
	public List<WorkType> getListWorkType();
	
	public List<BuMen> getListBuMen();
	
	public List<Area> getRestrictAlarm();
	
	public EmployeeBean getByLableIDs(EmployeeBean empBean, String labelIDs, UserBean user);	
	
	public List<Tag> getUnusedTags(String tagNo);
	
	public EmployeeBean findUpload(EmployeeBean empBean, EmployeeBean oldBean);
	
	public String upload(String id);
}
